package com.ddm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;

/**
 * <p>
 * 用户收藏指标表
 * </p>
 *
 * @author 丁丁猫
 * @since 2025-01-13
 */
@Data
@ApiModel(value = "Bookmark对象", description = "用户收藏指标表")
@TableName("bookmark")
public class Bookmark {
    @TableId(value = "id", type = IdType.AUTO)
    Long id;
    Long userId;
    Long standardId;
    Long levelId;
    Integer level;
    Long market_id;
    Long regulation_id;
    Long course_id;
    Long exam_id; // 竞赛ID，用于竞赛报名（收藏即报名）
    @TableField("supply_id")
    private Long supplyId;   // 变量名也顺手改成驼峰，可读性更好
}
